package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.ContractDTO;

public interface ContractService {

    List<ContractDTO> findAll();

    Page<ContractDTO> search(Pageable pageable, Searchable searchable);

    ContractDTO create(ContractDTO dto);

    ContractDTO details(Long id);

    void delete(Long id);

    ContractDTO update(Long id, ContractDTO dto);

}
